[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CONST, TYPE, VAR

     The following are globally declared in the WinTTT5 unit:

     CONST
        SHADOW = 5;
        MAX_WINDOWS = 10;
        MAX_SCREENS = 10;
        WINDOWCOUNTER: BYTE = 0;
        SCREENCOUNTER: BYTE = 0;
        ACTIVEVSCREEN: BYTE = 0;

     VAR
        SHADCOLOR : BYTE;
        DISPLAYLINES : BYTE;
        W_ERROR : INTEGER;
        W_FATAL : BOOLEAN;


     Direction - this type is used to indicate the direction for the
     sliding screen restores and screen scrolling. The set is UP, DOWN,
     LEFT and RIGHT.

     Max_Windows - this constant is set to ten and indicates the maximum
     number of windows that can be overlayed on the screen at one time. The
     value of ten is somewhat arbitrary, and can be modified to any
     reasonable value.

     Max_Screens - this constant is set to ten and indicates the maximum
     number of screens that can be saved at one time. The value of ten is
     somewhat arbitrary, and can be modified to any reasonable value.

     WindowCounter - this byte variable stores the current number of active
     windows. Do not alter the value of this variable.

     ScreenCounter - this byte variable stores the current number of saved
     screens. Do not alter the value of this variable.

     ActiveVScreen - this byte variable indicates the currently active
     virtual screen. A value of zero indicates that the visible screen is
     active.

     ShadColor - this byte variable indicates the color that the box
     shadows are drawn in. The default is DarkGray.

     DisplayLines - this byte variable stores the current number of display
     lines on the visible screen. The procedures SetCondensedLines and
     Set25Lines are used to alter the screen characteristics.

     W_Error - this byte variable is updated everytime an error prone
     WinTTT5 procedure is called. See the section Errors for more
     information.

     W_Fatal - this boolean variable dictates whether the program will halt
     if an error occurs. See the section Errors for more information.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson